<!DOCTYPE html>
<html lang="zh-cn">
    <head><meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<meta name="baidu-site-verification" content="code-N4HqDA2yr7" />
<meta name="msvalidate.01" content="C30AE7336C0C214E141AC1AAC39A9A05" /><meta name='description' content='问题描述 ssh登录服务器，环境变量不生效（一些命令找不到，即使已经写入了bashrc） 问题解决 ssh登录服务器时，有时不会执行.bashrc'><title>ssh登录环境变量不生效</title>

<link rel='canonical' href='/clean-bug/ssh%E7%99%BB%E5%BD%95%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E4%B8%8D%E7%94%9F%E6%95%88/'>

<link rel="stylesheet" href="/scss/style.min.732a6bd9762caf6dce004132442f09bcd64101bf70fd8ab25f9c10d85d58f6b7.css"><meta property='og:title' content='ssh登录环境变量不生效'>
<meta property='og:description' content='问题描述 ssh登录服务器，环境变量不生效（一些命令找不到，即使已经写入了bashrc） 问题解决 ssh登录服务器时，有时不会执行.bashrc'>
<meta property='og:url' content='/clean-bug/ssh%E7%99%BB%E5%BD%95%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E4%B8%8D%E7%94%9F%E6%95%88/'>
<meta property='og:site_name' content='倔强的贝吉塔'>
<meta property='og:type' content='article'><meta property='article:section' content='Clean-Bug' /><meta property='article:tag' content='日常记录' /><meta property='article:tag' content='ssh' /><meta property='article:published_time' content='2022-08-13T15:31:11&#43;08:00'/><meta property='article:modified_time' content='2022-08-13T15:31:11&#43;08:00'/><meta property='og:image' content='/categories/clean-bug/bug.png' />
<meta name="twitter:title" content="ssh登录环境变量不生效">
<meta name="twitter:description" content="问题描述 ssh登录服务器，环境变量不生效（一些命令找不到，即使已经写入了bashrc） 问题解决 ssh登录服务器时，有时不会执行.bashrc"><meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:image" content='/categories/clean-bug/bug.png' />
    <link rel="shortcut icon" href="/img/sorcerer.png" />

<script async src="https://www.googletagmanager.com/gtag/js?id=G-V4H6ZTRWB4"></script>
<script>
var doNotTrack = false;
if (!doNotTrack) {
	window.dataLayer = window.dataLayer || [];
	function gtag(){dataLayer.push(arguments);}
	gtag('js', new Date());
	gtag('config', 'G-V4H6ZTRWB4', { 'anonymize_ip': false });
}
</script>

            
<script async src="https://www.googletagmanager.com/gtag/js?id=G-V4H6ZTRWB4"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-V4H6ZTRWB4');
</script>

    </head>
    <body class="
    article-page has-toc
">
    <script>
        (function() {
            const colorSchemeKey = 'StackColorScheme';
            if(!localStorage.getItem(colorSchemeKey)){
                localStorage.setItem(colorSchemeKey, "dark");
            }
        })();
    </script><script>
    (function() {
        const colorSchemeKey = 'StackColorScheme';
        const colorSchemeItem = localStorage.getItem(colorSchemeKey);
        const supportDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches === true;

        if (colorSchemeItem == 'dark' || colorSchemeItem === 'auto' && supportDarkMode) {
            

            document.documentElement.dataset.scheme = 'dark';
        } else {
            document.documentElement.dataset.scheme = 'light';
        }
    })();
</script>
<div class="container main-container flex 
    
        extended
    
">
    
        <div id="article-toolbar">
            <a href="/" class="back-home">
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-chevron-left" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <polyline points="15 6 9 12 15 18" />
</svg>



                <span>返回</span>
            </a>
        </div>
    
<main class="main full-width">
    <article class="has-image main-article">
    <header class="article-header">
        <div class="article-image">
            <a href="/clean-bug/ssh%E7%99%BB%E5%BD%95%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E4%B8%8D%E7%94%9F%E6%95%88/">
                
                    <img src="/categories/clean-bug/bug.png" loading="lazy" alt="Featured image of post ssh登录环境变量不生效" />
                
            </a>
        </div>
    

    <div class="article-details">
    
    <header class="article-category">
        
            <a href="/categories/clean-bug/" >
                clean-bug
            </a>
        
    </header>
    

    <h2 class="article-title">
        <a href="/clean-bug/ssh%E7%99%BB%E5%BD%95%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E4%B8%8D%E7%94%9F%E6%95%88/">ssh登录环境变量不生效</a>
    </h2>

    

    
    <footer class="article-time">
        
            <div>
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-calendar-time" width="56" height="56" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <path d="M11.795 21h-6.795a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v4" />
  <circle cx="18" cy="18" r="4" />
  <path d="M15 3v4" />
  <path d="M7 3v4" />
  <path d="M3 11h16" />
  <path d="M18 16.496v1.504l1 1" />
</svg>
                <time class="article-time--published">2022-08-13</time>
            </div>
        

        
            <div>
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clock" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="12" cy="12" r="9" />
  <polyline points="12 7 12 12 15 15" />
</svg>



                <time class="article-time--reading">
                    阅读时长: 1 分钟
                </time>
            </div>
        
    </footer>
    
</div>
</header>

    <section class="article-content">
    
    
    <h2 id="问题描述">问题描述</h2>
<p>ssh登录服务器，环境变量不生效（一些命令找不到，即使已经写入了bashrc）</p>
<h2 id="问题解决">问题解决</h2>
<p>ssh登录服务器时，有时不会执行<code>.bashrc</code>，而是执行<code>.bash_profile</code></p>
<p>只需要添加<code>.bash_profile</code>文件即可</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="k">if</span> <span class="o">[</span> -n <span class="s2">&#34;</span><span class="nv">$BASH_VERSION</span><span class="s2">&#34;</span> <span class="o">]</span><span class="p">;</span> <span class="k">then</span>
</span></span><span class="line"><span class="cl">    <span class="c1"># include .bashrc if it exists</span>
</span></span><span class="line"><span class="cl">    <span class="k">if</span> <span class="o">[</span> -f <span class="s2">&#34;</span><span class="nv">$HOME</span><span class="s2">/.bashrc&#34;</span> <span class="o">]</span><span class="p">;</span> <span class="k">then</span>
</span></span><span class="line"><span class="cl">        . <span class="s2">&#34;</span><span class="nv">$HOME</span><span class="s2">/.bashrc&#34;</span>
</span></span><span class="line"><span class="cl">    <span class="k">fi</span>
</span></span><span class="line"><span class="cl"><span class="k">fi</span>
</span></span></code></pre></div><p>环境变量依然写在<code>.bashrc</code>中</p>

</section>


    <footer class="article-footer">
    
    <section class="article-tags">
        
            <a href="/tags/%E6%97%A5%E5%B8%B8%E8%AE%B0%E5%BD%95/">日常记录</a>
        
            <a href="/tags/ssh/">ssh</a>
        
    </section>


    
    <section class="article-copyright">
        <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-copyright" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="12" cy="12" r="9" />
  <path d="M14.5 9a3.5 4 0 1 0 0 6" />
</svg>



        <span>Licensed under CC BY-NC-SA 4.0</span>
    </section>
    

</footer>


    
        <link 
                rel="stylesheet" 
                href="https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/katex.min.css"integrity="sha256-J&#43;iAE0sgH8QSz9hpcDxXIftnj65JEZgNhGcgReTTK9s="crossorigin="anonymous"
            ><script 
                src="https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/katex.min.js"integrity="sha256-InsNdER1b2xUewP&#43;pKCUJpkhiqwHgqiPXDlIk7GzBu4="crossorigin="anonymous"
                defer
                >
            </script><script 
                src="https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/contrib/auto-render.min.js"integrity="sha256-y39Mpg7V3D4lhBX4x6O0bUqTV4pSrfgwEfGKfxkOdgI="crossorigin="anonymous"
                defer
                >
            </script><script>
    window.addEventListener("DOMContentLoaded", () => {
        renderMathInElement(document.querySelector(`.article-content`), {
            delimiters: [
                { left: "$$", right: "$$", display: true },
                { left: "$", right: "$", display: false },
                { left: "\\(", right: "\\)", display: false },
                { left: "\\[", right: "\\]", display: true }
            ]
        });})
</script>
    
</article>

    

    <aside class="related-contents--wrapper">
    
    
        <h2 class="section-title"></h2>
        <div class="related-contents">
            <div class="flex article-list--tile">
                
                    
<article class="has-image">
    <a href="/clean-bug/luasnip%E8%A7%A3%E6%94%BE%E4%BD%A0%E7%9A%84%E5%8F%8C%E6%89%8B/">
        
        
            <div class="article-image">
                
                    <img src="/categories/clean-bug/bug.png" loading="lazy" data-key="" data-hash="/categories/clean-bug/bug.png"/>
                
            </div>
        

        <div class="article-details">
            <h2 class="article-title">LuaSnip解放你的双手</h2>
        </div>
    </a>
</article>
                
                    
<article class="has-image">
    <a href="/clean-bug/%E4%BB%A5%E9%9D%9Eroot%E8%BA%AB%E4%BB%BD%E6%89%A7%E8%A1%8Cdocker/">
        
        
            <div class="article-image">
                
                    <img src="/categories/clean-bug/bug.png" loading="lazy" data-key="" data-hash="/categories/clean-bug/bug.png"/>
                
            </div>
        

        <div class="article-details">
            <h2 class="article-title">以非root身份执行docker</h2>
        </div>
    </a>
</article>
                
                    
<article class="has-image">
    <a href="/clean-bug/wsl2%E4%B8%8Bdocker%E5%90%AF%E5%8A%A8%E9%97%AE%E9%A2%98/">
        
        
            <div class="article-image">
                
                    <img src="/categories/clean-bug/bug.png" loading="lazy" data-key="" data-hash="/categories/clean-bug/bug.png"/>
                
            </div>
        

        <div class="article-details">
            <h2 class="article-title">wsl2下docker启动问题</h2>
        </div>
    </a>
</article>
                
                    
<article class="has-image">
    <a href="/p/%E6%97%A5%E5%B8%B8%E8%AE%B0%E5%BD%95%E4%B8%8Ebug%E5%A4%84%E7%90%86/">
        
        
            <div class="article-image">
                <img src="/p/%E6%97%A5%E5%B8%B8%E8%AE%B0%E5%BD%95%E4%B8%8Ebug%E5%A4%84%E7%90%86/bug.0eb81f4fc2c6c306c0254759192da7f4_hu081a353cc6bb62ce4c97494e3c8ce280_27096_250x150_fill_box_smart1_3.png" 
                        width="250" 
                        height="150" 
                        loading="lazy"
                        alt="Featured image of post 日常记录与bug处理"
                        
                        data-hash="md5-DrgfT8LGwwbAJUdZGS2n9A==">
                
            </div>
        

        <div class="article-details">
            <h2 class="article-title">日常记录与bug处理</h2>
        </div>
    </a>
</article>
                
                    
<article class="has-image">
    <a href="/clean-bug/macos%E4%B8%8Bzsh%E7%BB%88%E7%AB%AFbrew%E6%97%A0%E6%B3%95%E8%A1%A5%E5%85%A8/">
        
        
            <div class="article-image">
                
                    <img src="/categories/clean-bug/bug.png" loading="lazy" data-key="" data-hash="/categories/clean-bug/bug.png"/>
                
            </div>
        

        <div class="article-details">
            <h2 class="article-title">MacOS下zsh终端brew无法补全</h2>
        </div>
    </a>
</article>
                
            </div>
        </div>
    
</aside>

     
    
        
    <script src='//unpkg.com/valine@latest/dist/Valine.min.js'></script>

<div id="vcomments"></div>
<style>
    #vcomments .vcards .vcard {
        background-color: var(--card-background);
	    padding: 25px 25px 5px 25px;
	    border-radius: 3px;
	    margin-bottom: 15px;
	    transition: all .3s
    }

    #vcomments .vcards .vh .vquote .vcard {
	    padding: 10px 25px 0px 0px;
    }

    #vcomments .vcards .vcard .vh .vcard {
        border: none;
        box-shadow: none;
    }

    #vcomments .vcards .vcard .vquote .vimg {
        width: 50px;
        height: 50px;
    }

    #vcomments .vcards .vcard .vimg {
        width: 60px;
        height: 60px;
        float: left;
        border-radius: 5px;
        margin-right: 18px;
        border: 0px;
        padding: 0px;
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
    }

    #vcomments .vcards .vcard .vcontent p{
        font-size: 1.6rem;
        color: var(--card-text-color-main);
    }

    #vcomments .vcards .vcard .vcontent{
        padding-top: 0px;
    }
    
    #vcomments .vcount {
        padding: 0px;
        margin-bottom: 5px;
        margin-top: 20px;
        font-weight: 700;
        font-size: 1.4rem;
        color: var(--body-text-color);
        text-transform: uppercase;
    }

    #vcomments .vwrap .cancel-reply-btn {
        position: relative;
        
    }

    #vcomments .vreply-wrapper .vwrap {
        box-shadow: var(--shadow-l2);
        border: 1px solid rgba(143, 143, 143, 0.3);
        width: 95%;
    }

    #vcomments .vquote .vreply-wrapper .vwrap {
        width: 93%;
    }

    #vcomments .vwrap {
        background-color: var(--card-background);
        border: 0px solid #f0f0f0;
        border-radius: 3px;
        margin-bottom: 10px;
        overflow: hidden;
        position: relative;
        padding: 0px 0px 0px 0px;
        font-family: inherit;
        display: flex;
        flex-direction: column;
    }

    #vcomments .vwrap .cancel-reply {
        position: absolute;
        z-index:999;
        float: right;
        top: -20px;
        right: 0px;
    }

    #vcomments .vwrap .vheader.item3{
        order: 0;
    }

    #vcomments .vwrap .edit{
        order: 1;
    }

    #vcomments .vwrap .vinput.vpreview{
        order: 2;
    }

    #vcomments .vwrap .vemojis{
        order: 3;
    }

    #vcomments .vwrap .vrow{
        order: 4;
    }

    #vcomments .vwrap .vmark{
        order: 5;
    }

    #vcomments .vpanel {
        order: 0;
    }

    #vcomments .vload-top.text-center {
        padding-top: 20px;
        order: 1;
    }

    #vcomments .vcount {
        order: 2;
    }

    #vcomments .vcards {
        order: 3;
    }

    #vcomments .vload-bottom.text-center {
        order: 4;
    }

    #vcomments .vempty {
        order: 5;
    }

    #vcomments .vpage.txt-center {
        order: 6;
    }

    #vcomments .vpower.txt-right {
        order: 7;
    }
    
    #vcomments {
        display: flex;
        flex-direction: column;
    }

    #vcomments .vcards .vcard .vhead .vnick {
        color: var(--accent-color);
        position: relative;
        font-size: 1.6rem;
        font-weight: 700;
        margin-right: .875em;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
    }
    #vcomments .vcards .vcard .vh .vtime {
        color: var(--card-text-color-secondary);
        font-weight: lighter;
        font-size: 1.3rem;
        margin-right: .875em;
    }

    #vcomments .veditor {
        font-size: 1.6rem;
        color: var(--card-text-color-main);
        padding: 20px;
        max-height: 350px;
        resize: none;
    }
    
    #vcomments .vedit {
        border-bottom: 1px solid rgba(143, 143, 143, 0.3);
        background-color: rgba(255, 255, 255, 0.08);
        padding-top: 0px;
    }    

    #vcomments .vrow {
        padding: 20px;
    }

    #vcomments .vedit .vrow {
        padding: 0px 20px 5px 20px;
    }

    #vcomments .vicon.vemoji-btn {
        fill: var(--card-text-color-tertiary);
    }

    #vcomments .vicon.vpreview-btn {
        display:none !important;
    }

    #vcomments .vwrap .vemojis {
        padding: 20px;
    }

    #vcomments .vquote .vmeta .vat {
        right: 30px;
    }

    #vcomments .vmeta .vat {
        background: 0 0;
        cursor: pointer;
        border: 0;
        border-radius: 5px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.5);
        transition: box-shadow .3s ease;
        height: 60px;
        width: 60px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: -20px;
        right: 10px;
    }

    #vcomments .vmeta .vat svg {
        stroke-width: 1.33;
    }
    
    #vcomments .vmeta .vat:hover {
        outline: 0;
        box-shadow: var(--shadow-l2);
    }

    #vcomments .vheader {
        display: flex;
    }

    #vcomments .vheader p {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
        position: relative;
        margin: 0;
    }

    #vcomments .vheader label {
        position: absolute;
        top: 10px;
        left: 20px;
        color: var(--card-text-color-tertiary);
        margin-top: -4px;
        font-size: 14px;
    }

    #vcomments .vheader input {
         
        color: var(--card-text-color-main);
        border: 0;
        background: 0 0;
        padding: 35px 20px 15px;
        width: 100%;
        line-height: 1;
        transition: border .3s ease;
        font-size: 100%;
    }

    #vcomments .vheader p:not(:last-of-type) {
        border-right: 1px solid rgba(143, 143, 143, 0.3);
    }
    

    #vcomments .vh .vhead {
        padding-top: 5px;
    }

    #vcomments .vh .vquote .vhead {
        padding-top: 0px;
    }

    #vcomments .vbtn {
        color: var(--card-text-color-main);
        font-weight: 700;
        font-size: 1.0em;
        border-radius: 3px;
        border-color: 1px solid #666666;
    }

    #vcomments .vmore.vbtn {
        font-size: 13px;
    }

    #vcomments .vbtn:hover {
        color: #bebebe;
        border-color: #707070;
    }

    #vcomments .vbtn:active {
        color: #bebebe;
        border-color: #707070;
    }

    #vcomments .vcards .vcard .vcontent.expand {
        cursor: auto;
        max-height: none;
        overflow: visible;
    }

    #vcomments .vcards .vcard .vcontent.expand::after {
        display:none !important;
    }

    #vcomments .vcards .vcard .vcontent.expand::before {
        
        display:none !important;
    }

    #vcomments .vsys {
        display:none !important;
    }

    #vcomments .vcards .vcard .vh {
        padding-bottom: 0px;
        border-bottom: 0px dashed #f5f5f5;
    }

    #vcomments .vcards .vcard .vquote {
        padding-top: 5px;
        padding-left: 15px;
        border-left: 0px;
        px solid rgba(187, 187, 187, 0.5);
    }

    #vcomments .vicon.actived {
        fill: var(--card-text-color-main);
    }


</style>

<script>
    
    let placeholder = `发表你的评论\n`

    var valine = new Valine();

    valine.init({
        el: '#vcomments',
        appId: 'KHkYnFUrXOhcAuIDuVXPRFRy-gzGzoHsz',
        appKey: 'VR5IeFKU36DHOY3tzXQo0aBM',
        avatar: 'robohash',
        placeholder: placeholder,
        enableQQ: true,
        lang:'zh-CN',
        requiredFields: [],
        recordIP: false,
        visitor: true
    })

    html = `<p><label>昵称（必填）</label><input name='nick' placeholder='张三' class='vnick vinput' type='text'></p>
            <p><label>邮箱</label><input name='mail' placeholder='joe@example.com' class='vmail vinput' type='email'></p>
            <p><label>网址</label><input name='link' placeholder='https://' class='vlink vinput' type='text'></p>`
            
    document.querySelector(".vheader").innerHTML = html
    document.querySelector(".vpower.txt-right").innerHTML = ""

    if(window.location.hash){
        var checkExist = setInterval(function() {
           if (document.getElementById(window.location.hash.substring(1))) {
              document.getElementById(window.location.hash.substring(1)).scrollIntoView({behavior: "smooth", block: "center", inline: "nearest"})
              clearInterval(checkExist);
           }
        }, 100);
    }

</script>


    

    <footer class="site-footer">
    <section class="copyright">
        &copy; 
        
            2022 - 
        
        2024 倔强的贝吉塔
    </section>
    
    <section class="powerby">
        Built with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> <br />
        主题 <b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="3.7.0">Stack</a></b> 由 <a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a> 设计
    </section>
</footer>


    
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

    
    <div class="pswp__bg"></div>

    
    <div class="pswp__scroll-wrap">

        
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>

        
        <div class="pswp__ui pswp__ui--hidden">

            <div class="pswp__top-bar">

                

                <div class="pswp__counter"></div>

                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>

                <button class="pswp__button pswp__button--share" title="Share"></button>

                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>

                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>

                
                
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                        <div class="pswp__preloader__cut">
                            <div class="pswp__preloader__donut"></div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div>
            </div>

            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>

            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>

            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>

        </div>

    </div>

</div><script 
                src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.js"integrity="sha256-ePwmChbbvXbsO02lbM3HoHbSHTHFAeChekF1xKJdleo="crossorigin="anonymous"
                defer
                >
            </script><script 
                src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe-ui-default.min.js"integrity="sha256-UKkzOn/w1mBxRmLLGrSeyB4e1xbrp4xylgAWb3M42pU="crossorigin="anonymous"
                defer
                >
            </script><link 
                rel="stylesheet" 
                href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.min.css"crossorigin="anonymous"
            ><link 
                rel="stylesheet" 
                href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.css"crossorigin="anonymous"
            >

            </main>
    
        <aside class="sidebar right-sidebar sticky">
            <section class="widget archives">
                <div class="widget-icon">
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-hash" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <line x1="5" y1="9" x2="19" y2="9" />
  <line x1="5" y1="15" x2="19" y2="15" />
  <line x1="11" y1="4" x2="7" y2="20" />
  <line x1="17" y1="4" x2="13" y2="20" />
</svg>



                </div>
                <h2 class="widget-title section-title">目录</h2>
                
                <div class="widget--toc">
                    <nav id="TableOfContents">
  <ol>
    <li><a href="#问题描述">问题描述</a></li>
    <li><a href="#问题解决">问题解决</a></li>
  </ol>
</nav>
                </div>
            </section>
        </aside>
    

        </div>
        <script 
                src="https://cdn.jsdelivr.net/npm/node-vibrant@3.1.6/dist/vibrant.min.js"integrity="sha256-awcR2jno4kI5X0zL8ex0vi2z&#43;KMkF24hUW8WePSA9HM="crossorigin="anonymous"
                
                >
            </script><script type="text/javascript" src="/ts/main.js" defer></script>
<script>
    (function () {
        const customFont = document.createElement('link');
        customFont.href = "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap";

        customFont.type = "text/css";
        customFont.rel = "stylesheet";

        document.head.appendChild(customFont);
    }());
</script>

    </body>
</html>
